
<template>

    123
</template>




<script setup>
import { useRoute } from 'vue-router'
import { onMounted, ref } from 'vue'
import { getOrderDetail } from '@/api/order'

const { id } = useRoute().params
const detail = ref(null)

onMounted(async () => {
  const resp = await getOrderDetail(id)
  detail.value = resp.data
})
</script>
